levelbar: fix a crash
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 3 Jan 2016 02:14:47 +0000 (18:14 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Sun, 3 Jan 2016 02:44:07 +0000 (18:44 -0800)
commit6322b1f647552d9da0d3524731b56b7a1a23c060
tree6ec46902f2ba593b2513b8ccf312f49b72750ca2
parent8109520d4efda502b0141fa0e8482679fbb12fa7
levelbar: fix a crash

We should not try to access a block with an index that exceeds the
number of blocks in the widget.
gtk/gtklevelbar.c